﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-16
Description:Sms_sending三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class Sms_sendingManager
	{
		public static int AddSms_sending(Sms_sending sms_sending)
		{
			return Sms_sendingService.AddSms_sending(sms_sending);
		}
		public static int DeleteSms_sendingByid(long id)
		{
			return Sms_sendingService.DeleteSms_sendingById(id);
		}
		
		public static int ModifySms_sendingByid(Sms_sending sms_sending)
		{
			return Sms_sendingService.ModifySms_sendingByid(sms_sending);
		}
		
		
		public static IList<Sms_sending> GetAllSms_sendings()
		{
			return Sms_sendingService.GetAllSms_sendings();
		}
		public static Sms_sending GetSms_sendingByid(long id)
		{
			return Sms_sendingService.GetSms_sendingByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<Sms_sending> ShowSms_sendingForPage(int curragePage,int NUMCount)
		{
			return 	Sms_sendingService.ShowSms_sendingForPage(curragePage,NUMCount);
		}
	}
}
